<?php
header('content-type:text/html; charset=utf-8');
session_start();
@$name=$_REQUEST['name'];
@$id=$_REQUEST['id'];

$pdo=new PDO('mysql:dbname=can;charset=utf8','root');

$s=$pdo->prepare('insert into zhuo(name) values(:aa)');
if($s->execute(array('aa'=>$name))){
	header('content-type:text/html; charset=utf-8');
	header('Refresh:0;url=/th4.php');
}